package com.bonc.rms.dao.tms;

import java.sql.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface IOrganizationDao {
	
	List<Map<String, Object>> getOrganizationById(@Param("depId") Integer depId, @Param("date") Date date);
	
	List<Map<String, Object>> getOrganizationByParentId(@Param("depId") Integer depId, @Param("date") Date date);
	
	List<String> getHistoryDate();
	
	boolean isLeaf(Integer depId);
}
